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/internal/bio.h | |
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/internal/bio.h')
-rw-r--r-- | include/internal/bio.h | 2 |
1 files changed, 1 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 *); |