Skip to content

Commit 12d5dde

Browse files
committed
* modules/ssl/ssl_util_ssl.c (asn1_string_convert): Constify
ASN1_STRING * argument.
1 parent f59e36c commit 12d5dde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ssl/ssl_util_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ char *modssl_bio_free_read(apr_pool_t *p, BIO *bio)
206206
/* Convert ASN.1 string to a pool-allocated char * string, escaping
207207
* control characters. If raw is zero, convert to UTF-8, otherwise
208208
* unchanged from the character set. */
209-
static char *asn1_string_convert(apr_pool_t *p, ASN1_STRING *asn1str, int raw)
209+
static char *asn1_string_convert(apr_pool_t *p, const ASN1_STRING *asn1str, int raw)
210210
{
211211
BIO *bio;
212212
int flags = ASN1_STRFLGS_ESC_CTRL;

0 commit comments

Comments
 (0)