VirtualBox

Ignore:
Timestamp:
Mar 3, 2022 7:17:34 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150325
Message:

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

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  
        1212/vendor/openssl/1.1.1c:131722-131725
        1313/vendor/openssl/1.1.1k:145841-145843
         14/vendor/openssl/3.0.1:150323-150324
         15/vendor/openssl/current:147554-150322
  • trunk/src/libs/openssl-3.0.1/crypto/ec/ecdsa_sign.c

    r91772 r94082  
    11/*
    2  * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    4  * Licensed under the OpenSSL license (the "License").  You may not use
     4 * Licensed under the Apache License 2.0 (the "License").  You may not use
    55 * this file except in compliance with the License.  You can obtain a copy
    66 * in the file LICENSE in the source distribution or at
    77 * https://www.openssl.org/source/license.html
    88 */
     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"
    915
    1016#include <openssl/ec.h>
     
    2329    if (eckey->meth->sign_sig != NULL)
    2430        return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey);
    25     ECerr(EC_F_ECDSA_DO_SIGN_EX, EC_R_OPERATION_NOT_SUPPORTED);
     31    ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED);
    2632    return NULL;
    2733}
     
    3945    if (eckey->meth->sign != NULL)
    4046        return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey);
    41     ECerr(EC_F_ECDSA_SIGN_EX, EC_R_OPERATION_NOT_SUPPORTED);
     47    ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED);
    4248    return 0;
    4349}
     
    4854    if (eckey->meth->sign_setup != NULL)
    4955        return eckey->meth->sign_setup(eckey, ctx_in, kinvp, rp);
    50     ECerr(EC_F_ECDSA_SIGN_SETUP, EC_R_OPERATION_NOT_SUPPORTED);
     56    ERR_raise(ERR_LIB_EC, EC_R_OPERATION_NOT_SUPPORTED);
    5157    return 0;
    5258}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette