Merge in all recent changes from 0.9.6-stable.

This commit is contained in:
Richard Levitte
2002-05-29 11:29:40 +00:00
parent 7462f2644c
commit 71aa7c586b
11 changed files with 41 additions and 11 deletions

View File

@@ -4,7 +4,8 @@
Changes between 0.9.6d and 0.9.6e [XX xxx XXXX] Changes between 0.9.6d and 0.9.6e [XX xxx XXXX]
*) *) Fix EVP_dsa_sha macro.
[Nils Larsch]
Changes between 0.9.6c and 0.9.6d [9 May 2002] Changes between 0.9.6c and 0.9.6d [9 May 2002]

View File

@@ -445,7 +445,7 @@ my %table=(
"sco5-cc-pentium", "cc:-Kpentium::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options? "sco5-cc-pentium", "cc:-Kpentium::(unknown):-lsocket:${x86_gcc_des} ${x86_gcc_opts}:::", # des options?
"sco5-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ... "sco5-gcc", "gcc:-O3 -fomit-frame-pointer::(unknown):-lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ...
"sco5-cc-shared","cc:-belf:::-lsocket -lresolv -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::::::::::dlfcn:svr3-shared:-Kpic", "sco5-cc-shared","cc:-belf:::-lsocket -lresolv -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::::::::::dlfcn:svr3-shared:-Kpic",
"sco5-gcc-shared","gcc:-O3 -DFILIO_H -fomit-frame-pointer:::-lsocket -lresolv -lnsl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:svr3-shared:-fPIC", # the SCO assembler doesn't seem to like our assembler files ... "sco5-gcc-shared","gcc:-O3 -fomit-frame-pointer:::-lsocket -lresolv -lnsl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:svr3-shared:-fPIC", # the SCO assembler doesn't seem to like our assembler files ...
# Sinix/ReliantUNIX RM400 # Sinix/ReliantUNIX RM400
# NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */ # NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */

View File

@@ -230,10 +230,17 @@ void program_name(char *in, char *out, int size)
q=strrchr(p,'.'); q=strrchr(p,'.');
if (q == NULL) if (q == NULL)
q = in+size; q = p + strlen(p);
strncpy(out,p,q-p); strncpy(out,p,size-1);
if (q-p >= size)
{
out[size-1]='\0';
}
else
{
out[q-p]='\0'; out[q-p]='\0';
} }
}
#else #else
void program_name(char *in, char *out, int size) void program_name(char *in, char *out, int size)
{ {

4
config
View File

@@ -497,6 +497,10 @@ EOF
${CC} -o dummy dummy.c && OUT=`./dummy ${MACHINE}` ${CC} -o dummy dummy.c && OUT=`./dummy ${MACHINE}`
rm dummy dummy.c rm dummy dummy.c
;; ;;
ppc64-*-linux2)
#Use the standard target for PPC architecture until we create a
#special one for the 64bit architecture.
OUT="linux-ppc" ;;
ppc-*-linux2) OUT="linux-ppc" ;; ppc-*-linux2) OUT="linux-ppc" ;;
m68k-*-linux*) OUT="linux-m68k" ;; m68k-*-linux*) OUT="linux-m68k" ;;
ia64-*-linux?) OUT="linux-ia64" ;; ia64-*-linux?) OUT="linux-ia64" ;;

View File

@@ -56,6 +56,13 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
/* disable assert() unless BIO_DEBUG has been defined */
#ifndef BIO_DEBUG
# ifndef NDEBUG
# define NDEBUG
# endif
#endif
/* /*
* Stolen from tjh's ssl/ssl_trc.c stuff. * Stolen from tjh's ssl/ssl_trc.c stuff.
*/ */

View File

@@ -7,10 +7,19 @@
* for which no specific BIO method is available. * for which no specific BIO method is available.
* See ssl/ssltest.c for some hints on how this can be used. */ * See ssl/ssltest.c for some hints on how this can be used. */
/* BIO_DEBUG implies BIO_PAIR_DEBUG */
#ifdef BIO_DEBUG
# ifndef BIO_PAIR_DEBUG # ifndef BIO_PAIR_DEBUG
# undef NDEBUG /* avoid conflicting definitions */ # define BIO_PAIR_DEBUG
# endif
#endif
/* disable assert() unless BIO_PAIR_DEBUG has been defined */
#ifndef BIO_PAIR_DEBUG
# ifndef NDEBUG
# define NDEBUG # define NDEBUG
# endif # endif
#endif
#include <assert.h> #include <assert.h>
#include <limits.h> #include <limits.h>

View File

@@ -626,6 +626,7 @@ $ WRITE SYS$OUTPUT " ",APPLICATION,".exe"
$! $!
$! Link The Program, Check To See If We Need To Link With RSAREF Or Not. $! Link The Program, Check To See If We Need To Link With RSAREF Or Not.
$! $!
$ ON ERROR THEN GOTO NEXT_APPLICATION
$ IF (RSAREF.EQS."TRUE") $ IF (RSAREF.EQS."TRUE")
$ THEN $ THEN
$! $!

View File

@@ -228,7 +228,7 @@ typedef struct evp_pkey_md_st
EVP_rsa_octet_string(),EVP_mdc2()) EVP_rsa_octet_string(),EVP_mdc2())
#define EVP_dsa_sha() \ #define EVP_dsa_sha() \
EVP_PKEY_MD_add(NID_dsaWithSHA,\ EVP_PKEY_MD_add(NID_dsaWithSHA,\
EVP_dsa(),EVP_mdc2()) EVP_dsa(),EVP_sha())
#define EVP_dsa_sha1() \ #define EVP_dsa_sha1() \
EVP_PKEY_MD_add(NID_dsaWithSHA1,\ EVP_PKEY_MD_add(NID_dsaWithSHA1,\
EVP_dsa(),EVP_sha1()) EVP_dsa(),EVP_sha1())

View File

@@ -21,7 +21,6 @@ B<openssl> B<smime>
[B<-certfile file>] [B<-certfile file>]
[B<-signer file>] [B<-signer file>]
[B<-recip file>] [B<-recip file>]
[B<-in file>]
[B<-inform SMIME|PEM|DER>] [B<-inform SMIME|PEM|DER>]
[B<-passin arg>] [B<-passin arg>]
[B<-inkey file>] [B<-inkey file>]

View File

@@ -1,7 +1,7 @@
#!/usr/bin/sh #!/usr/bin/sh
major="0" major="0"
minor="9.6b" minor="9.6d"
slib=libssl slib=libssl
sh_slib=$slib.so.$major.$minor sh_slib=$slib.so.$major.$minor
@@ -9,7 +9,7 @@ sh_slib=$slib.so.$major.$minor
clib=libcrypto clib=libcrypto
sh_clib=$clib.so.$major.$minor sh_clib=$clib.so.$major.$minor
FLAGS="-O3 -DFILIO_H -fomit-frame-pointer -pthread FLAGS="-O3 -DFILIO_H -fomit-frame-pointer -pthread"
SHFLAGS="-DPIC -fPIC" SHFLAGS="-DPIC -fPIC"
touch $sh_clib touch $sh_clib

View File

@@ -313,6 +313,7 @@ $ WRITE SYS$OUTPUT "Creating SSL_TASK OSU HTTP SSL Engine."
$! $!
$! Compile The File. $! Compile The File.
$! $!
$ ON ERROR GOTO SSL_TASK_END
$ CC5/OBJECT='OBJ_DIR'SSL_TASK.OBJ SYS$DISK:[]SSL_TASK.C $ CC5/OBJECT='OBJ_DIR'SSL_TASK.OBJ SYS$DISK:[]SSL_TASK.C
$! $!
$! Link The Program, Check To See If We Need To Link With RSAREF Or Not. $! Link The Program, Check To See If We Need To Link With RSAREF Or Not.
@@ -387,6 +388,7 @@ $ ENDIF
$! $!
$! Time To Return. $! Time To Return.
$! $!
$SSL_TASK_END:
$ RETURN $ RETURN
$! $!
$! Check For The Link Option FIle. $! Check For The Link Option FIle.