Fix 64-bit compilation when PQ_64BIT_IS_INTEGER isn't defined.
authorGeoff Thorpe <geoff@openssl.org>
Tue, 26 Jul 2005 04:01:50 +0000 (04:01 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 26 Jul 2005 04:01:50 +0000 (04:01 +0000)
ssl/d1_pkt.c

index ba1d661..a5238b1 100644 (file)
@@ -178,7 +178,7 @@ static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr,
 static int dtls1_buffer_record(SSL *s, record_pqueue *q,
        unsigned char *priority);
 static int dtls1_process_record(SSL *s);
-#if PQ_64BIT_IS_INTEGER
+#ifdef PQ_64BIT_IS_INTEGER
 static PQ_64BIT bytes_to_long_long(unsigned char *bytes, PQ_64BIT *num);
 #endif
 static void dtls1_clear_timeouts(SSL *s);
@@ -1710,7 +1710,7 @@ dtls1_reset_seq_numbers(SSL *s, int rw)
        memset(seq, 0x00, seq_bytes);
        }
 
-#if PQ_64BIT_IS_INTEGER
+#ifdef PQ_64BIT_IS_INTEGER
 static PQ_64BIT
 bytes_to_long_long(unsigned char *bytes, PQ_64BIT *num)
        {