version.c 492 B

123456789101112131415161718192021
  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 "version.h"
  10. const char ver[] = TEXTVER;
  11. const char sshver[] = SSHVER;
  12. /*
  13. * SSH local version string MUST be under 40 characters. Here's a
  14. * compile time assertion to verify this.
  15. */
  16. enum { vorpal_sword = 1 / (sizeof(sshver) <= 40) };