Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/crypto/ts/ts_req_utils.c
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/crypto/ts/ts_req_utils.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at … … 33 33 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); 34 34 if (new_msg_imprint == NULL) { 35 TSerr(TS_F_TS_REQ_SET_MSG_IMPRINT, ERR_R_MALLOC_FAILURE);35 ERR_raise(ERR_LIB_TS, ERR_R_MALLOC_FAILURE); 36 36 return 0; 37 37 } … … 54 54 new_alg = X509_ALGOR_dup(alg); 55 55 if (new_alg == NULL) { 56 TSerr(TS_F_TS_MSG_IMPRINT_SET_ALGO, ERR_R_MALLOC_FAILURE);56 ERR_raise(ERR_LIB_TS, ERR_R_MALLOC_FAILURE); 57 57 return 0; 58 58 } … … 85 85 new_policy = OBJ_dup(policy); 86 86 if (new_policy == NULL) { 87 TSerr(TS_F_TS_REQ_SET_POLICY_ID, ERR_R_MALLOC_FAILURE);87 ERR_raise(ERR_LIB_TS, ERR_R_MALLOC_FAILURE); 88 88 return 0; 89 89 } … … 106 106 new_nonce = ASN1_INTEGER_dup(nonce); 107 107 if (new_nonce == NULL) { 108 TSerr(TS_F_TS_REQ_SET_NONCE, ERR_R_MALLOC_FAILURE);108 ERR_raise(ERR_LIB_TS, ERR_R_MALLOC_FAILURE); 109 109 return 0; 110 110 }
Note:
See TracChangeset
for help on using the changeset viewer.