diff options
author | tb <> | 2018-05-02 15:51:41 +0000 |
---|---|---|
committer | tb <> | 2018-05-02 15:51:41 +0000 |
commit | 7f29a6625f497f02beaea0c30e17d4084e4851e5 (patch) | |
tree | 81ad224bb116b46338273c29efaaae67ff4051ac /src/lib/libcrypto/evp/evp.h | |
parent | 66cfd2f5d49458fe9a3bb27319840e5bd209a81e (diff) | |
download | openbsd-7f29a6625f497f02beaea0c30e17d4084e4851e5.tar.gz openbsd-7f29a6625f497f02beaea0c30e17d4084e4851e5.tar.bz2 openbsd-7f29a6625f497f02beaea0c30e17d4084e4851e5.zip |
Add const qualifiers to return value of BIO_f_{base64,cipher,md}().
tested in bulk by sthen
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index e12e771cc5..817d4fb734 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.58 2018/02/20 18:05:28 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.59 2018/05/02 15:51:41 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -651,9 +651,9 @@ int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr); | |||
651 | int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); | 651 | int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); |
652 | 652 | ||
653 | #ifndef OPENSSL_NO_BIO | 653 | #ifndef OPENSSL_NO_BIO |
654 | BIO_METHOD *BIO_f_md(void); | 654 | const BIO_METHOD *BIO_f_md(void); |
655 | BIO_METHOD *BIO_f_base64(void); | 655 | const BIO_METHOD *BIO_f_base64(void); |
656 | BIO_METHOD *BIO_f_cipher(void); | 656 | const BIO_METHOD *BIO_f_cipher(void); |
657 | void BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, | 657 | void BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, |
658 | const unsigned char *i, int enc); | 658 | const unsigned char *i, int enc); |
659 | #endif | 659 | #endif |