diff options
author | Rich Salz <rsalz@openssl.org> | 2018-02-10 13:36:47 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-02-10 13:36:47 -0500 |
commit | 6dbe4dc4752484e1628e854dce46ef48faaf3384 (patch) | |
tree | 3753186af98848d6b8067206f64b007a3008821d /include | |
parent | 4e0752535eb87b9aab4cf193f4422b5801ab7b32 (diff) |
Copy name string in BIO_meth_new
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5318)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/bio.h | 2 | ||||
-rw-r--r-- | include/openssl/bioerr.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/bio.h b/include/internal/bio.h index 4428947f2d..5334d480de 100644 --- a/include/internal/bio.h +++ b/include/internal/bio.h @@ -11,7 +11,7 @@ struct bio_method_st { int type; - const char *name; + char *name; int (*bwrite) (BIO *, const char *, size_t, size_t *); int (*bwrite_old) (BIO *, const char *, int); int (*bread) (BIO *, char *, size_t, size_t *); diff --git a/include/openssl/bioerr.h b/include/openssl/bioerr.h index b0dee2bc34..7a552d6105 100644 --- a/include/openssl/bioerr.h +++ b/include/openssl/bioerr.h @@ -35,6 +35,7 @@ int ERR_load_BIO_strings(void); # define BIO_F_BIO_LOOKUP 135 # define BIO_F_BIO_LOOKUP_EX 143 # define BIO_F_BIO_MAKE_PAIR 121 +# define BIO_F_BIO_METH_NEW 146 # define BIO_F_BIO_NEW 108 # define BIO_F_BIO_NEW_DGRAM_SCTP 145 # define BIO_F_BIO_NEW_FILE 109 |