Fix a warning, and do some constification as a lucky side-effect :-)
authorGeoff Thorpe <geoff@openssl.org>
Sun, 8 Dec 2002 05:19:43 +0000 (05:19 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sun, 8 Dec 2002 05:19:43 +0000 (05:19 +0000)
ssl/ssl.h

index 82f4b0f..5177a8a 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -587,7 +587,7 @@ typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
 typedef struct ssl_comp_st
        {
        int id;
-       char *name;
+       const char *name;
 #ifndef OPENSSL_NO_COMP
        COMP_METHOD *method;
 #else