diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2025-08-08 19:24:09 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2025-08-08 19:33:57 +0000 |
commit | fbc35f82f0eca4571df0d753da74571e01ace763 (patch) | |
tree | b1140e447e6c40c2bc65e7fc3413664fe98c3666 /demos/cms/cms_denc.c | |
parent | 1095efe41feed8ea5a6fe5ca123c347ae0914801 (diff) |
Diffstat (limited to 'demos/cms/cms_denc.c')
-rw-r--r-- | demos/cms/cms_denc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/cms/cms_denc.c b/demos/cms/cms_denc.c index 53b680f67484..e451a108fd46 100644 --- a/demos/cms/cms_denc.c +++ b/demos/cms/cms_denc.c @@ -1,5 +1,5 @@ /* - * Copyright 2008-2023 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2008-2025 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -57,7 +57,7 @@ int main(int argc, char **argv) dout = BIO_new_file("smencr.out", "wb"); - if (!in) + if (in == NULL || dout == NULL) goto err; /* encrypt content */ |