Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/crypto/ec/ecdsa_sign.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/ec/ecdsa_sign.c
r91772 r94082 1 1 /* 2 * Copyright 2015-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2015-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 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * ECDSA low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/ec.h> … … 23 29 if (eckey->meth->sign_sig != NULL) 24 30 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); 25 E Cerr(EC_F_ECDSA_DO_SIGN_EX, EC_R_OPERATION_NOT_SUPPORTED);31 ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED); 26 32 return NULL; 27 33 } … … 39 45 if (eckey->meth->sign != NULL) 40 46 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); 41 E Cerr(EC_F_ECDSA_SIGN_EX, EC_R_OPERATION_NOT_SUPPORTED);47 ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED); 42 48 return 0; 43 49 } … … 48 54 if (eckey->meth->sign_setup != NULL) 49 55 return eckey->meth->sign_setup(eckey, ctx_in, kinvp, rp); 50 E Cerr(EC_F_ECDSA_SIGN_SETUP, EC_R_OPERATION_NOT_SUPPORTED);56 ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED); 51 57 return 0; 52 58 }
Note:
See TracChangeset
for help on using the changeset viewer.