OpenBSD CVS

CVS log for src/usr.sbin/smtpd/crypto.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 14 17:58:15 2021 UTC (2 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

add required headers for smtpd.h and remove unnecessary ones in other files.

ok jung@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 23 16:11:11 2021 UTC (3 years, 4 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.8: +10 -10 lines
Diff to previous 1.8 (colored)

Remove unused variables found by clang. Additional unused var spotted by eric@.

OK mvs@, eric@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:50 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 24 18:01:52 2019 UTC (5 years ago) by gilles
Branch: MAIN
Changes since 1.6: +40 -29 lines
Diff to previous 1.6 (colored)

switch from having automatic EVP_CIPHER_CTX variables to allocating them
with EVP_CIPHER_CTX_new() and releasing them with EVP_CIPHER_CTX_free().

ok sunil@ and millert@

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 3 14:42:08 2016 UTC (7 years, 8 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.5: +9 -11 lines
Diff to previous 1.5 (colored)

switch from EVP_{En,De}cryptInit & EVP_{En,De}cryptFinal to their _ex
counterparts, as suggested by bcook

ok bcook@, sunil@, eric@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 28 22:08:30 2015 UTC (8 years, 5 months ago) by jung
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

remove spaces after '!'

no binary change

ok millert

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 26 17:25:32 2013 UTC (10 years, 5 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

bcopy -> memmove
bzero -> memset

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 22 13:20:49 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

fix bogus warning due to limited range on 32bit archs.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 19 09:39:28 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.1: +0 -3 lines
Diff to previous 1.1 (colored)

unused variable

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 4 13:46:21 2013 UTC (11 years, 1 month ago) by gilles
Branch: MAIN

Add crypto.c to provide smtpd with a way to encrypt envelopes and messages
using aes-256-gcm before they hit the queue. not "plugged" yet.

lots of comments from mikeb, tedu and djm.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.