We're passed p, so let's use p instead of making assumptions.
authorRichard Levitte <levitte@openssl.org>
Sat, 24 Jan 2004 01:16:02 +0000 (01:16 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 24 Jan 2004 01:16:02 +0000 (01:16 +0000)
crypto/err/err.c

index 04cea41..e28ec56 100644 (file)
@@ -594,11 +594,11 @@ static void build_SYS_str_reasons()
 
 #define err_clear(p,i) \
        do { \
-       es->err_flags[i]=0; \
-       es->err_buffer[i]=0; \
+       (p)->err_flags[i]=0; \
+       (p)->err_buffer[i]=0; \
        err_clear_data(p,i); \
-       es->err_file[i]=NULL; \
-       es->err_line[i]= -1; \
+       (p)->err_file[i]=NULL; \
+       (p)->err_line[i]= -1; \
        } while(0)
 
 static void ERR_STATE_free(ERR_STATE *s)