Permalink
Browse files

added --built-withlibnss option

  • Loading branch information...
mcr authored and shussain committed Nov 16, 2018
1 parent 8d03d86 commit e0b2d98869d327153fe09667f11d6834f0502225
Showing with 11 additions and 0 deletions.
  1. +11 −0 programs/pluto/plutomain.c
@@ -152,6 +152,7 @@ usage(const char *mess)
"[--ocspuri] "
"[--uniqueids] "
"[--noretransmits] "
"[--built-withlibnss] "
"\n\nIPsec stack options\n\t"
"[--use-auto] "
"[--use-klips] "
@@ -455,6 +456,8 @@ main(int argc, char **argv)
{ "virtual_private", required_argument, NULL, '6' },
{ "nhelpers", required_argument, NULL, 'j' },

{ "built-withlibnss", no_argument, NULL, '7' },

/* might not be enabled, but always accept the option */
{ "secctx_attr_value", required_argument, NULL, 'w' },
#ifdef DEBUG
@@ -753,6 +756,14 @@ main(int argc, char **argv)
virtual_private = optarg;
continue;

case '7': /* --built-withlibnss */
#ifdef HAVE_LIBNSS
exit(0);
#else
exit(1);
#endif
continue;

default:
#ifdef DEBUG
if (c >= DBG_OFFSET)

0 comments on commit e0b2d98

Please sign in to comment.