diff options
author | jsing <> | 2015-10-16 15:09:28 +0000 |
---|---|---|
committer | jsing <> | 2015-10-16 15:09:28 +0000 |
commit | 347b8ec58659d39fe107b7425448fc5de0eeab85 (patch) | |
tree | d1b6e417f9a8275632216d4ce722a7a10f9eb92d /src/lib/libcrypto/ec | |
parent | a257720ff1fc941f32aec3258685e6ae8d66fb92 (diff) | |
download | openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.gz openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.tar.bz2 openbsd-347b8ec58659d39fe107b7425448fc5de0eeab85.zip |
Remove pointless uses of DECLARE_ASN1_ENCODE_FUNCTIONS_const.
DECLARE_ASN1_FUNCTIONS_const already includes this macro so using both
means we end up with duplicate function prototypes and externs.
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r-- | src/lib/libcrypto/ec/ec_asn1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 44f1597896..f937672d67 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/lib/libcrypto/ec/ec_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_asn1.c,v 1.18 2015/09/29 13:54:40 jsing Exp $ */ | 1 | /* $OpenBSD: ec_asn1.c,v 1.19 2015/10/16 15:09:28 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -551,8 +551,8 @@ const ASN1_ITEM ECPKPARAMETERS_it = { | |||
551 | .size = sizeof(ECPKPARAMETERS), | 551 | .size = sizeof(ECPKPARAMETERS), |
552 | .sname = "ECPKPARAMETERS", | 552 | .sname = "ECPKPARAMETERS", |
553 | }; | 553 | }; |
554 | |||
554 | DECLARE_ASN1_FUNCTIONS_const(ECPKPARAMETERS) | 555 | DECLARE_ASN1_FUNCTIONS_const(ECPKPARAMETERS) |
555 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECPKPARAMETERS, ECPKPARAMETERS) | ||
556 | 556 | ||
557 | ECPKPARAMETERS * | 557 | ECPKPARAMETERS * |
558 | d2i_ECPKPARAMETERS(ECPKPARAMETERS **a, const unsigned char **in, long len) | 558 | d2i_ECPKPARAMETERS(ECPKPARAMETERS **a, const unsigned char **in, long len) |
@@ -619,8 +619,8 @@ const ASN1_ITEM EC_PRIVATEKEY_it = { | |||
619 | .size = sizeof(EC_PRIVATEKEY), | 619 | .size = sizeof(EC_PRIVATEKEY), |
620 | .sname = "EC_PRIVATEKEY", | 620 | .sname = "EC_PRIVATEKEY", |
621 | }; | 621 | }; |
622 | |||
622 | DECLARE_ASN1_FUNCTIONS_const(EC_PRIVATEKEY) | 623 | DECLARE_ASN1_FUNCTIONS_const(EC_PRIVATEKEY) |
623 | DECLARE_ASN1_ENCODE_FUNCTIONS_const(EC_PRIVATEKEY, EC_PRIVATEKEY) | ||
624 | 624 | ||
625 | EC_PRIVATEKEY * | 625 | EC_PRIVATEKEY * |
626 | d2i_EC_PRIVATEKEY(EC_PRIVATEKEY **a, const unsigned char **in, long len) | 626 | d2i_EC_PRIVATEKEY(EC_PRIVATEKEY **a, const unsigned char **in, long len) |