Hanno Becker
20fce25f28
Correct memory-leak in pk_encrypt example program
2018-08-23 15:14:50 +01:00
Mohammad Azim Khan
7e84affb45
Fix Wformat-overflow warning in ssl_mail_client.c
...
sprintf( (char *) buf, "%s\r\n", base );
Above code generates Wformat-overflow warning since both buf and base
are of same size. buf should be sizeof( base ) + characters added in
the format. In this case format 2 bytes for "\r\n".
2018-08-16 14:34:15 +01:00
Simon Butcher
1bb41e5d04
Merge remote-tracking branch 'public/pr/1800' into mbedtls-2.7
2018-07-24 13:30:40 +01:00
Simon Butcher
d5a3ed36b8
Merge remote-tracking branch 'public/pr/1863' into mbedtls-2.7
2018-07-24 12:57:15 +01:00
Andres Amaya Garcia
46a6d5cbe5
Fix ssl_client2 to send 0-length app data
2018-07-16 20:14:45 +01:00
Andres Amaya Garcia
808a09ca85
Remove redundant ret = 1 in dh_client.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
cfb61b33cf
Add missing platform macro defines in cert_app.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
9f92a805e9
Add missing platform macro defines in pk_decrypt.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
2b0599bc91
Fix typo in platform macro defines for examples
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
0dcc6a9f7d
Fix ret code in gen_random_havege.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
053e1cd7ab
Fix ret code in rsa_encrypt.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
156099b76f
Fix ret code in rsa_decrypt.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
8ec767c042
Fix ret code in cert_app.c
2018-07-10 17:34:25 +01:00
Andres Amaya Garcia
77d2de223c
Fix ret code in generic_sum.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
2702000d2c
Fix ret code in pk_verify.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
a5236b1dd3
Fix ret code in pk_sign.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
a0ea01d273
Fix ret code in pk_encrypt.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
141b4f4526
Fix ret code in pk_encrypt.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
81982c84d4
Fix ret code in ecdh_curve25519.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
c899c464f6
Fix ret code in mpi_demo.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
6118adab09
Fix ret code in pem2der.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
73081c3e2f
Fix ret code in ssl_cert_test.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
01e3d21350
Fix ret code in udp_proxy.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
12ab7a6884
Fix ret code in req_app.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
8fe4d917f7
Fix ret code in crl_app.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
a7ac5ab2ee
Fix ret code in cert_write.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
7bd88dc44c
Fix ret code in cert_req.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
ea14fe76d5
Fix ret code in ssl_mail_client.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
e4f79e1902
Fix ret code in ssl_fork_server.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
bc1af79add
Fix ret code in ssl_client1.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
ac0e3e7b11
Fix ret code in gen_random_ctr_drbg.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
43e65fbbca
Fix ret code in gen_entropy.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
1b04390e4f
Fix ret code in rsa_verify_pss.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
1e36af911b
Fix ret code in rsa_verify.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
0b20b4e4cd
Fix ret code in rsa_sign_pss.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
39e1964960
Fix ret code in rsa_sign.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
a8a96ae42f
Fix ret code in rsa_genkey.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
aa3291e1fb
Fix ret code in key_app_writer.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
f57bccf839
Fix ret code in key_app.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
7c55e79f54
Fix ret code in gen_key.c
2018-07-10 17:34:24 +01:00
Andres Amaya Garcia
47c041190c
Fix ret code in ecdsa.c
2018-07-10 17:34:23 +01:00
Andres Amaya Garcia
114ba1955e
Fix ret code in dh_server.c
2018-07-10 17:34:23 +01:00
Andres Amaya Garcia
74c51e6e64
Fix ret code in dh_genprime.c
2018-07-10 17:34:23 +01:00
Andres Amaya Garcia
f842345ac3
Fix ret code in dh_client.c
2018-07-10 17:34:23 +01:00
Andres Amaya Garcia
990900ff40
Fix ret code in crypt_and_hash.c
2018-07-10 17:34:23 +01:00
Andres Amaya Garcia
15cbf61805
Fix ret code in aescrypt2.c
2018-07-10 17:34:23 +01:00
Simon Butcher
e21597db32
Merge remote-tracking branch 'public/pr/1794' into mbedtls-2.7
2018-06-28 11:46:16 +01:00
Ron Eldor
5146ef3811
Adjust to new RSA infrastructure
...
Don't access the rsa cotext parameters directly, but use
the local `mbedtls_mpi` variable that were exported.
2018-06-27 11:55:59 +03:00
Ron Eldor
0d63e6229d
Fix compilation errors after updating
...
Fix compilation errorsthat happened after new code introduced
by updating the branch. Replaced `exit` label with `cleanup`.
2018-06-27 08:49:00 +03:00
Ron Eldor
45486b135d
Fix style issue
...
Add space before and after paranthesis.
2018-06-26 19:11:12 +03:00