Remove 'const' from set_x509_ext()'s value parameter
authorFabian Keil <fk@fabiankeil.de>
Thu, 20 Aug 2020 19:31:46 +0000 (21:31 +0200)
committerFabian Keil <fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000 (12:22 +0200)
commitc02ce0e16590c25c8a16068bd155911a0a149cf1
treebae9088f6f20008775fd39041d8987d5e9fadb60
parent6256dd56aac5a17fe320624845f36a7b363e92bf
Remove 'const' from set_x509_ext()'s value parameter

Silences the following warning when compiling with OpenSSL 1.0.2t.

     openssl.c:1213:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        ext = X509V3_EXT_conf_nid(NULL, &ctx, nid, value);
                                                   ^~~~~
     /usr/include/openssl/x509v3.h:627:43: note: passing argument to parameter 'value' here
                                         char *value);
                                               ^
Sponsored by: Robert Klemme
openssl.c