fix error code
[openssl.git] / crypto / bio / bss_dgram.c
index c197219..4d1a64e 100644 (file)
@@ -1155,7 +1155,7 @@ static int dgram_sctp_read(BIO *b, char *out, int outl)
 
                        if (!auth_data || !auth_forward)
                                {
-                               BIOerr(BIO_F_BIO_READ,BIO_R_CONNECT_ERROR);
+                               BIOerr(BIO_F_DGRAM_SCTP_READ,BIO_R_CONNECT_ERROR);
                                return -1;
                                }