Don't check in two places for signing turned off...
authorJeremy Allison <jra@samba.org>
Wed, 23 Jul 2003 06:04:20 +0000 (06:04 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 23 Jul 2003 06:04:20 +0000 (06:04 +0000)
Jeremy.
(This used to be commit f4b02e52e25556e5b101d493e2e6404563bf96dd)

source3/libsmb/smb_signing.c

index 2612ed23671074a7d57fd7054516914fc18c4fb4..19450a95362498e1a9cc0ab0b51e2e74a8b25987 100644 (file)
@@ -534,9 +534,6 @@ BOOL srv_check_sign_mac(char *inbuf)
 
 void srv_calculate_sign_mac(char *outbuf)
 {
-       if (!srv_sign_info.doing_signing)
-               return;
-
        /* Check if it's a session keepalive. */
        /* JRA Paranioa test - do we ever generate these in the server ? */
        if(CVAL(outbuf,0) == SMBkeepalive)