projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c3c975
)
PR: 2340
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Sep 2011 15:01:55 +0000
(15:01 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 1 Sep 2011 15:01:55 +0000
(15:01 +0000)
Submitted by: "Mauro H. Leggieri" <mxmauro@caiman.com.ar>
Reviewed by: steve
Stop warnings if OPENSSL_NO_DGRAM is defined.
crypto/bio/bss_dgram.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_dgram.c
b/crypto/bio/bss_dgram.c
index 22af508719a4a720d1f57da89a50201f25a5987d..71ebe987b63e24c2d2273a220661bfd892332e73 100644
(file)
--- a/
crypto/bio/bss_dgram.c
+++ b/
crypto/bio/bss_dgram.c
@@
-57,7
+57,6
@@
*
*/
-#ifndef OPENSSL_NO_DGRAM
#include <stdio.h>
#include <errno.h>
@@
-65,6
+64,7
@@
#include "cryptlib.h"
#include <openssl/bio.h>
+#ifndef OPENSSL_NO_DGRAM
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS)
#include <sys/timeb.h>
@@
-815,7
+815,6
@@
int BIO_dgram_non_fatal_error(int err)
}
return(0);
}
-#endif
static void get_current_time(struct timeval *t)
{
@@
-833,3
+832,5
@@
static void get_current_time(struct timeval *t)
gettimeofday(t, NULL);
#endif
}
+
+#endif