Dead code removal: #if 0 bio, comp, rand
The start of removing dead code. A remaining #if 0 in bss_conn.c needs more thought. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -303,9 +303,6 @@ int RAND_poll(void)
|
||||
if (gen(hProvider, sizeof(buf), buf) != 0) {
|
||||
RAND_add(buf, sizeof(buf), 0);
|
||||
good = 1;
|
||||
# if 0
|
||||
printf("randomness from PROV_RSA_FULL\n");
|
||||
# endif
|
||||
}
|
||||
release(hProvider, 0);
|
||||
}
|
||||
@@ -315,9 +312,6 @@ int RAND_poll(void)
|
||||
if (gen(hProvider, sizeof(buf), buf) != 0) {
|
||||
RAND_add(buf, sizeof(buf), sizeof(buf));
|
||||
good = 1;
|
||||
# if 0
|
||||
printf("randomness from PROV_INTEL_SEC\n");
|
||||
# endif
|
||||
}
|
||||
release(hProvider, 0);
|
||||
}
|
||||
@@ -573,10 +567,6 @@ int RAND_poll(void)
|
||||
w = GetCurrentProcessId();
|
||||
RAND_add(&w, sizeof(w), 1);
|
||||
|
||||
# if 0
|
||||
printf("Exiting RAND_poll\n");
|
||||
# endif
|
||||
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user