]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
session state: mark mod_auth_st_int as constant
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 8 Nov 2017 10:41:59 +0000 (11:41 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:35 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/gnutls_int.h

index 05c8371d2b1a495dc516c1035877759ae408b7f3..690cd9a59db03e57ecc5ca30db99feb17386b891 100644 (file)
@@ -982,7 +982,7 @@ typedef struct {
                                                 */
 
        time_t expire_time;     /* after expire_time seconds this session will expire */
-       struct mod_auth_st_int *auth_struct;    /* used in handshake packets and KX algorithms */
+       const struct mod_auth_st_int *auth_struct;      /* used in handshake packets and KX algorithms */
 
        /* this is the highest version available
         * to the peer. (advertized version).