fix error code
[openssl.git] / crypto / bio / bss_dgram.c
index c1972191676c9313eb3304d3cf502b9eaf0a624a..4d1a64ea358e3869c938f05d9a468180408c73b2 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;
                                }