[BACK]Return to s_client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/s_client.c between version 1.58 and 1.59

version 1.58, 2022/02/03 17:44:04 version 1.59, 2022/11/11 17:07:39
Line 923 
Line 923 
         struct sockaddr_storage peer;          struct sockaddr_storage peer;
         int peerlen = sizeof(peer);          int peerlen = sizeof(peer);
   
         if (single_execution) {          if (pledge("stdio cpath wpath rpath inet dns tty", NULL) == -1) {
                 if (pledge("stdio cpath wpath rpath inet dns tty", NULL) == -1) {                  perror("pledge");
                         perror("pledge");                  exit(1);
                         exit(1);  
                 }  
         }          }
   
         memset(&s_client_config, 0, sizeof(s_client_config));          memset(&s_client_config, 0, sizeof(s_client_config));

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59