projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc/man3: use the documented coding style in the example code
[oweals/openssl.git]
/
doc
/
man3
/
ASN1_TIME_set.pod
diff --git
a/doc/man3/ASN1_TIME_set.pod
b/doc/man3/ASN1_TIME_set.pod
index b9c0dcd22ebd44dbe9f245c538ff7fe4faf82bda..95bc06dc383840155e53a62de308529fa69fd089 100644
(file)
--- a/
doc/man3/ASN1_TIME_set.pod
+++ b/
doc/man3/ASN1_TIME_set.pod
@@
-109,6
+109,7
@@
Determine if one time is later or sooner than the current time:
if (!ASN1_TIME_diff(&day, &sec, NULL, to))
/* Invalid time format */
+
if (day > 0 || sec > 0)
printf("Later\n");
else if (day < 0 || sec < 0)