version.c 529 B

123456789101112131415161718192021222324
  1. /*
  2. * PuTTY version numbering
  3. */
  4. /*
  5. * The difficult part of deciding what goes in these version strings
  6. * is done in Buildscr, and then written into version.h. All we have
  7. * to do here is to drop it into variables of the right names.
  8. */
  9. #include "putty.h"
  10. #include "ssh.h"
  11. #include "version.h"
  12. const char ver[] = TEXTVER;
  13. const char sshver[] = SSHVER;
  14. /*
  15. * SSH local version string MUST be under 40 characters. Here's a
  16. * compile time assertion to verify this.
  17. */
  18. enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };