diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/ec/ec.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/ec/ec_asn1.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index dc70cfa6af..d9df48603a 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec.h,v 1.12 2016/11/04 17:33:19 miod Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.13 2018/05/19 10:37:02 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -911,7 +911,7 @@ EC_KEY *o2i_ECPublicKey(EC_KEY **key, const unsigned char **in, long len); | |||
| 911 | * of bytes needed). | 911 | * of bytes needed). |
| 912 | * \return 1 on success and 0 if an error occurred | 912 | * \return 1 on success and 0 if an error occurred |
| 913 | */ | 913 | */ |
| 914 | int i2o_ECPublicKey(EC_KEY *key, unsigned char **out); | 914 | int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); |
| 915 | 915 | ||
| 916 | #ifndef OPENSSL_NO_BIO | 916 | #ifndef OPENSSL_NO_BIO |
| 917 | /** Prints out the ec parameters on human readable form. | 917 | /** Prints out the ec parameters on human readable form. |
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 8e960e0112..5da7b2be89 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.26 2018/04/23 09:37:50 tb Exp $ */ | 1 | /* $OpenBSD: ec_asn1.c,v 1.27 2018/05/19 10:37:02 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -1586,7 +1586,7 @@ o2i_ECPublicKey(EC_KEY ** a, const unsigned char **in, long len) | |||
| 1586 | } | 1586 | } |
| 1587 | 1587 | ||
| 1588 | int | 1588 | int |
| 1589 | i2o_ECPublicKey(EC_KEY * a, unsigned char **out) | 1589 | i2o_ECPublicKey(const EC_KEY * a, unsigned char **out) |
| 1590 | { | 1590 | { |
| 1591 | size_t buf_len = 0; | 1591 | size_t buf_len = 0; |
| 1592 | int new_buffer = 0; | 1592 | int new_buffer = 0; |
