Don't try to use zero-byte buffers.
[openssl.git] / ssl / ssl_asn1.c
index 7454ba39acaaa3d3aac0112a804774c4d0ebbb61..0f6a0884e4afb6af36b956024ceeacd3aa5c27b2 100644 (file)
@@ -58,8 +58,8 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include "asn1_mac.h"
-#include "objects.h"
+#include <openssl/asn1_mac.h>
+#include <openssl/objects.h>
 #include "ssl_locl.h"
 
 typedef struct ssl_session_asn1_st
@@ -75,11 +75,6 @@ typedef struct ssl_session_asn1_st
        ASN1_INTEGER timeout;
        } SSL_SESSION_ASN1;
 
-/*
- * SSLerr(SSL_F_I2D_SSL_SESSION,SSL_R_CIPHER_CODE_WRONG_LENGTH);
- * SSLerr(SSL_F_D2I_SSL_SESSION,SSL_R_UNSUPPORTED_CIPHER);
- */
-
 int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp)
        {
 #define LSIZE2 (sizeof(long)*2)