Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
The code mentions OpenSSL functions related to error management, which
has changed in OpenSSL 3, deprecating old practices.
  • Loading branch information
giacomini committed Jun 14, 2024
1 parent 1f25a6d commit cd5c735
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions testsuite/voms/voms/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,8 @@ int main(int argc, char *argv[])
// if (debug)
fprintf(stdout, "%s:%s,%d,%s\n", ERR_error_string(l, buf),
file, line, dat);
// error += std::string(ERR_reason_error_string(l)) + ":" + std::string(ERR_func_error_string(l)) + "\n";
}
}
/* fprintf(stdout, "%s\n", */
/* ERR_reason_error_string( ERR_get_error() )); */
fprintf(stdout, "ERROR\n");
exit(1);
}
Expand Down
3 changes: 0 additions & 3 deletions testsuite/voms/voms/server2.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,8 @@ int main(int argc, char *argv[])
// if (debug)
fprintf(stdout, "%s:%s,%d,%s\n", ERR_error_string(l, buf),
file, line, dat);
// error += std::string(ERR_reason_error_string(l)) + ":" + std::string(ERR_func_error_string(l)) + "\n";
}
}
/* fprintf(stdout, "%s\n", */
/* ERR_reason_error_string( ERR_get_error() )); */
fprintf(stdout, "ERROR\n");
exit(1);
}
Expand Down

0 comments on commit cd5c735

Please sign in to comment.