summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
authortb <>2018-05-02 15:51:41 +0000
committertb <>2018-05-02 15:51:41 +0000
commit7f29a6625f497f02beaea0c30e17d4084e4851e5 (patch)
tree81ad224bb116b46338273c29efaaae67ff4051ac /src/lib/libcrypto/evp/evp.h
parent66cfd2f5d49458fe9a3bb27319840e5bd209a81e (diff)
downloadopenbsd-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.h8
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);
651int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); 651int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);
652 652
653#ifndef OPENSSL_NO_BIO 653#ifndef OPENSSL_NO_BIO
654BIO_METHOD *BIO_f_md(void); 654const BIO_METHOD *BIO_f_md(void);
655BIO_METHOD *BIO_f_base64(void); 655const BIO_METHOD *BIO_f_base64(void);
656BIO_METHOD *BIO_f_cipher(void); 656const BIO_METHOD *BIO_f_cipher(void);
657void BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, 657void 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