Loading ssl/d1_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -241,7 +241,8 @@ int dtls1_enc(SSL *s, int send) return 0; } EVP_Cipher(ds,rec->data,rec->input,l); if(EVP_Cipher(ds,rec->data,rec->input,l) < 1) return -1; #ifdef KSSL_DEBUG { Loading ssl/d1_pkt.c +1 −1 Original line number Diff line number Diff line Loading @@ -1511,7 +1511,7 @@ int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, wr->length += bs; } s->method->ssl3_enc->enc(s,1); if(s->method->ssl3_enc->enc(s,1) < 1) goto err; /* record length after mac and block padding */ /* if (type == SSL3_RT_APPLICATION_DATA || Loading ssl/s3_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -534,7 +534,8 @@ int ssl3_enc(SSL *s, int send) /* otherwise, rec->length >= bs */ } EVP_Cipher(ds,rec->data,rec->input,l); if(EVP_Cipher(ds,rec->data,rec->input,l) < 1) return -1; if (EVP_MD_CTX_md(s->read_hash) != NULL) mac_size = EVP_MD_CTX_size(s->read_hash); Loading ssl/s3_pkt.c +1 −2 Original line number Diff line number Diff line Loading @@ -816,8 +816,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, wr->data=p; } /* ssl3_enc can only have an error on read */ s->method->ssl3_enc->enc(s,1); if(s->method->ssl3_enc->enc(s,1)<1) goto err; /* record length after mac and block padding */ s2n(wr->length,plen); Loading Loading
ssl/d1_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -241,7 +241,8 @@ int dtls1_enc(SSL *s, int send) return 0; } EVP_Cipher(ds,rec->data,rec->input,l); if(EVP_Cipher(ds,rec->data,rec->input,l) < 1) return -1; #ifdef KSSL_DEBUG { Loading
ssl/d1_pkt.c +1 −1 Original line number Diff line number Diff line Loading @@ -1511,7 +1511,7 @@ int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, wr->length += bs; } s->method->ssl3_enc->enc(s,1); if(s->method->ssl3_enc->enc(s,1) < 1) goto err; /* record length after mac and block padding */ /* if (type == SSL3_RT_APPLICATION_DATA || Loading
ssl/s3_enc.c +2 −1 Original line number Diff line number Diff line Loading @@ -534,7 +534,8 @@ int ssl3_enc(SSL *s, int send) /* otherwise, rec->length >= bs */ } EVP_Cipher(ds,rec->data,rec->input,l); if(EVP_Cipher(ds,rec->data,rec->input,l) < 1) return -1; if (EVP_MD_CTX_md(s->read_hash) != NULL) mac_size = EVP_MD_CTX_size(s->read_hash); Loading
ssl/s3_pkt.c +1 −2 Original line number Diff line number Diff line Loading @@ -816,8 +816,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, wr->data=p; } /* ssl3_enc can only have an error on read */ s->method->ssl3_enc->enc(s,1); if(s->method->ssl3_enc->enc(s,1)<1) goto err; /* record length after mac and block padding */ s2n(wr->length,plen); Loading