Changeset 94404 in vbox for trunk/src/libs/openssl-3.0.2/apps/req.c
- Timestamp:
- Mar 31, 2022 9:00:36 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150730
- Location:
- trunk/src/libs/openssl-3.0.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.2
- Property svn:mergeinfo
-
old new 13 13 /vendor/openssl/1.1.1k:145841-145843 14 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322 15 /vendor/openssl/3.0.2:150728-150729 16 /vendor/openssl/current:147554-150727
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.2/apps/req.c
r94082 r94404 1 1 /* 2 * Copyright 1995-202 1The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 776 776 } 777 777 if (newreq || gen_x509) { 778 if (pkey == NULL /* can happen only if !newreq */) { 779 BIO_printf(bio_err, "Must provide a signature key using -key\n"); 778 if (CAcert == NULL && pkey == NULL) { 779 BIO_printf(bio_err, "Must provide a signature key using -key or" 780 " provide -CA / -CAkey\n"); 780 781 goto end; 781 782 } … … 1595 1596 else 1596 1597 *pkeytype = OPENSSL_strdup(keytype); 1598 1599 if (*pkeytype == NULL) { 1600 BIO_printf(bio_err, "Out of memory\n"); 1601 EVP_PKEY_free(param); 1602 return NULL; 1603 } 1604 1597 1605 if (keylen >= 0) 1598 1606 *pkeylen = keylen;
Note:
See TracChangeset
for help on using the changeset viewer.