Recent changes from 0.9.6-stable.
authorRichard Levitte <levitte@openssl.org>
Mon, 28 Jun 2004 13:05:53 +0000 (13:05 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 28 Jun 2004 13:05:53 +0000 (13:05 +0000)
Configure
apps/speed.c

index c0f79cac82e0efd054c1265d55e929838421e4a7..47b56aa80be881e11caf44fe0f6db000f8edaa49 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -376,7 +376,7 @@ my %table=(
 "qnx6",        "cc:-DL_ENDIAN -DTERMIOS::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:",
 
 # Linux on ARM
-"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
 
 # UnixWare 2.0x fails destest with -O
 "unixware-2.0","cc:-DFILIO_H::-Kthread:-lsocket -lnsl -lx:${x86_gcc_des} ${x86_gcc_opts}:::",
index 67c0300be7f9e749b1788747b9d54360465ef199..27e4b69aadadb511f90461a0c07c78c203d55761 100644 (file)
 #endif
 
 #undef BUFSIZE
-#define BUFSIZE        ((long)1024*8+1)
+/* BUFSIZE needs to be one cipherblock larger than the largest number in the
+   lengths array (see below), to make space for padding when doing EVP tests.
+   1024 extra bytes may seem much, but hey, it doesn't hurt!
+                                                       -- Richard Levitte */
+#define BUFSIZE        ((long)1024*9+1)
 int run=0;
 
 static double Time_F(int s, int usertime);