| 1593 | |
| 1594 | |
| 1595 | void makeCrypt(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result, |
| 1596 | int argsCount, const dsc** args) |
| 1597 | { |
| 1598 | fb_assert(argsCount == CRYPT_ARG_MAX); |
| 1599 | |
| 1600 | if (args[0]->isBlob()) |
| 1601 | result->makeBlob(0, ttype_binary); |
| 1602 | else |
| 1603 | result->makeVarying(args[0]->getStringLength(), ttype_binary); |
| 1604 | |
| 1605 | result->setNullable(args[0]->isNullable()); |
| 1606 | } |
| 1607 | |
| 1608 | |
| 1609 | void makeRsaCrypt(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result, |
nothing calls this directly
no test coverage detected